package com.muyu.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassName: UserQuestionsEntity
 * @Author: Zirun.Xin
 * @Date: 2025/4/29 下午2:24
 * @Version: 1.0
 * @Description: 问题反馈实体
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "user_questions", autoResultMap = true)
public class UserQuestionsEntity extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 创建名称
     */
    @TableField(value = "creator_name")
    private String creatorName;

    /**
     * 创建账户id
     */
    @TableField(value = "creator_account_id")
    private String creatorAccountId;

    /**
     * 创建部门
     */
    @TableField(value = "creator_dept")
    private String creatorDept;

    /**
     * 问题内容
     */
    @TableField(value = "question_content")
    private String questionContent;

    /**
     * 问题类型
     */
    @TableField(value = "question_type")
    private String questionType;

    /**
     * 文件路径（批量）
     */
    @TableField(value = "file_paths")
    private String filePaths;
}
